package com.itqf.mapper;

import com.itqf.bean.DtsRole;
import com.itqf.bean.DtsRoleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DtsRoleMapper {
    long countByExample(DtsRoleExample example);

    int deleteByExample(DtsRoleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DtsRole record);

    int insertSelective(DtsRole record);

    List<DtsRole> selectByExample(DtsRoleExample example);

    DtsRole selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DtsRole record, @Param("example") DtsRoleExample example);

    int updateByExample(@Param("record") DtsRole record, @Param("example") DtsRoleExample example);

    int updateByPrimaryKeySelective(DtsRole record);

    int updateByPrimaryKey(DtsRole record);

    int insertDtsRole(DtsRole dtsRole);
}